home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ IE Zone Descriptions.xpl < prev    next >
Text File  |  2001-02-05  |  1KB  |  43 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Internet\Internet Explorer\Zones"
  5. "NAME"="Zone Descriptions"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.37"
  8. "TEXT 1"="Zone #1 Desc"
  9. "TEXT 2"="Zone #2 Desc"
  10. "TEXT 3"="Zone #3 Desc"
  11. "TEXT 4"="Zone #4 Desc"
  12. "TEXT 5"="Zone #5 Desc"
  13. "DESCRIPTION 1"="IE 4.0 and above divide the Internet into different Zones. You can change the descriptions for these zones here."
  14. "DESCRIPTION 2"="To view these items, start Internet Explorer, select "Options" from the "View" menu and click on the "Security" tab."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20. sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\"
  21. sValue="\Description"
  22.  
  23. Sub Plugin_Initialize 
  24.  if RegPathExists(sPath) then
  25.   for l=1 to 5 
  26.    s=RegReadValue(sPath & l & sValue)
  27.    Call SetUIElement(l,s)
  28.   next
  29.  else
  30.   Disable
  31.  end if
  32. End Sub
  33.  
  34. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  for l=1 to 5
  36.   s=GetUIElement(l)
  37.   Call RegWriteValue(sPath & l & sValue,s,1)
  38.  next
  39. End Sub
  40.  
  41. Sub Plugin_Terminate 
  42. End Sub
  43.